//拉新活动
import React from 'react'

//分页
export async function apiInviteActivityPage(params) {
  return await React.$get('/market/api/b/inviteActivity/page', params);
}
//新增
export async function apiInviteActivityAdd(params) {
  return await React.$postJson('/market/api/b/inviteActivity/add', params);
}
//删除
export async function apiInviteActivityDelete(params) {
  return await React.$postJson('/market/api/b/inviteActivity/delete', params);
}
//修改
export async function apiInviteActivityEdit(params) {
  return await React.$postJson('/market/api/b/inviteActivity/edit', params);
}
//提前结束
export async function apiInviteActivityFinish(params) {
  return await React.$postJson('/market/api/b/inviteActivity/finish', params);
}
//详情
export async function apiInviteActivityById(params) {
  return await React.$get('/market/api/b/inviteActivity/' + params);
}
//详情活动数据概览
export async function apiInviteActivityRecordPage(params) {
  return await React.$post('/market/api/b/inviteActivityRecord/page', params);
}
//详情活动数据概览 导出
export async function apiInviteActivityRecordExport(params) {
  return await React.$post('/market/api/b/inviteActivityRecord/list', params);
}